<template>
  <div>
   
  </div>
</template>

<script >
import { getInfo } from "@/api/article/index";
import { created } from "uview-ui/libs/mixin/mixin";
export default {
  data() {
    return {
        articleId:null,
    };
  },
  onLoad(options) {
    // 获取navigateTo携带的参数
    this.articleId = options.id; // 获取id并存储
    console.log(this.articleId)
    //获取文章数据
    this.getArticleInfo();
  },

  mounted() {
    
  },
  methods:{
   async getArticleInfo(){
      const {data,code,msg}  =  await getInfo({articleContentId:this.articleId});
    }


  }
}
</script>
